class Description {
  String? givenName;
  String? familyName;
  String? gender;
  String? organisation;
  String? birthDate;
  String? ifId;

  Description({
    this.givenName,
    this.familyName,
    this.gender,
    this.organisation,
    this.birthDate,
    this.ifId,
  });

  factory Description.fromJson(Map<String, dynamic> json) => Description(
        givenName: json['GivenName'] as String?,
        familyName: json['FamilyName'] as String?,
        gender: json['Gender'] as String?,
        organisation: json['Organisation'] as String?,
        birthDate: json['BirthDate'] as String?,
        ifId: json['IFId'] as String?,
      );

  Map<String, dynamic> toJson() => {
        'GivenName': givenName,
        'FamilyName': familyName,
        'Gender': gender,
        'Organisation': organisation,
        'BirthDate': birthDate,
        'IFId': ifId,
      };
}
